.upper-header {
    width: 100%;
    height: auto;
    background-color: var(--red);
    padding: 0 20px;
    box-sizing: border-box;
}

.upper-header p {
    line-height: 40px;
    color: white;
    text-align: center;
}

.upper-header .fa-circle-info {
    color: white;
    margin-right: 5px;
}

header {
    width: 100%;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0px;
    z-index: 10;
    background-color: var(--black);
}

header ul a {
    display: inline-block;
    margin: 15px;
}

header ul a li {
    color: white;
}

header ul a:hover > li {
    text-underline-offset: 10px;
    color: var(--red);
}

#banner {
    width: 100%;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background-size: 100%;
}

#banner img {
    height: 60%;
}

.banner-text h1 {
    margin-bottom: 15px;
}

.banner-text h1 span {
    color: var(--red);
    font-weight: 900;
}

.banner-text h2 span {
    color: var(--red);
}

.banner-text h2 {
    margin-bottom: 15px;
}

.banner-text p {
    line-height: 30px;
    margin-bottom: 15px;
}

.red-white-button .fa-download {
    color: var(--red);
    margin-right: 5px;
    transition: all ease .5s;
}

.red-white-button:hover > .fa-download {
    color: white;
}

#about {
    height: auto;
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
}

#about .container {
    display: flex;
    gap: 20px;
}

.about-card {
    width: 500px;
    box-shadow: var(--shadow);
    border-radius: 5px;
    padding: 20px;
    box-sizing: border-box;
    position: relative;
}

.about-card span:nth-of-type(2) {
    margin-top: 10px;
}

.about-card-cover {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 5px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(5px);
    padding: 20px;
    box-sizing: border-box;
    transition: all ease .5s;
}

.about-card-cover:hover {
    opacity: 0;
    cursor: pointer;
}

.about-card-cover a {
    margin-top: 20px;
}

#about .container .about-card:first-of-type {
    background-color: var(--black);
}

#about .container .about-card:first-of-type h2 {
    color: white;
}

#about .container .about-card:first-of-type p {
    color: gray;
}

.about-card:first-of-type span:nth-of-type(2) {
    margin-top: 10px;
}

#skills {
    margin-top: 50px;
}

#skills .container {
    display: flex;
}

.skills-heading {
    width: 30%;
    height: auto;
}

.skills-heading-text {
    position: sticky;
    top: 100px;
}

.skills-heading-text h2 {
    padding-right: 20px;
    box-sizing: border-box;
}

.skills-content {
    width: 70%;
    height: auto;
}

.skillbar {
    width: 100%;
    height: 50px;
    margin-bottom: 20px;
    padding: 5px;
    box-sizing: border-box;
    border-radius: 5px;
    background-color: var(--white);
}

.skillbar:hover {
    box-shadow: var(--shadow);
    cursor: pointer;
}

.skillbar-name {
    width: 25%;
    height: 100%;
    background-color: var(--red);
    text-align: center;
    float: left;
    border-radius: 5px;
}

.skillbar-name p {
    line-height: 40px;
    color: white;
    font-size: 12px;
}

.skillbar-hundred {
    width: 75%;
    height: 100%;
    float: left;
    position: relative;
}

.skillbar-real {
    height: 40px;
    float: left;
    background-color: var(--black);
    border-radius: 5px;
    margin-left: 5px;
}

.skillbar-real p {
    line-height: 40px;
    color: white;
    text-align: right;
    box-sizing: border-box;
    font-size: 12px;
    padding-right: 10px;
}

.skills-content span {
    margin-top: 20px;
}

.skills-content span:first-of-type {
    margin-top: 0px;
}

.skills-content p {
    margin-bottom: 10px;
}

.skills-content h3 {
    line-height: 30px;
}

#portfolio {
    background-color: var(--black);
    width: 100%;
    height: auto;
    margin-top: 50px;
    padding: 50px 0;
    box-sizing: border-box;
}

.accordions {
    width: 100%;
    z-index: 9;
}

.accordion {
    width: 100%;
    height: auto;
    margin-bottom: 20px;
}

.accordion:last-of-type {
    margin-bottom: 0px;
}

.accordion-header {
    z-index: 9;
    background-color: white;
    box-shadow: 0px 0px 10px 0px rgba(0,0,0,.2);
    width: 100%;
    height: auto;
    box-sizing: border-box;
    padding: 20px;
    overflow: hidden;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.accordion-header h3 span {
    color: var(--red);
    margin-right: 5px;
    font-size: 70%;
}

.accordion-header i {
    font-size: 25px;
    color: var(--black);
}

.accordion-header:hover {
    cursor: pointer;
}

.accordion-content {
    box-sizing: border-box;
    padding: 10px 20px;
}

.accordion-content p {
    margin: 0;
    z-index: 10;
}

.accordion-content p img {
    width: 100%;
    height: auto;
    margin-top: 20px;
    border-radius: 5px;
    box-shadow: var(--shadow);
}

.accordion-content ul li i {
    width: 40px;
    text-align: left;
}

#cv {
    margin-top: 50px;
    padding: 50px 0px;
    box-sizing: border-box;
}

#cv .red-button i {
    color: white;
    margin-right: 5px;
}

.download-block {
    width: 100%;
    height: auto;
    margin-top: 20px;
    display: flex;
    gap: 20px;
}

.cv-block {
    width: 600px;
    height: 300px;
    box-sizing: border-box;
    border-radius: 5px;
    background-color: var(--black);
    background-size: cover;
    background-position: center;
}

.cv-block-text {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(8px);
    border-radius: 5px;
    background-color: rgba(0, 0, 0, .7);
}

footer {
    background-color: var(--black);
    box-sizing: border-box;
    padding: 50px 0;
}

form {
    width: 100%;
    height: auto;
    background-color: white;
    border-radius: 3px;
    padding: 20px;
    box-sizing: border-box;
}

input, textarea {
    width: 100%;
    padding: 10px;
    box-sizing: border-box;
    margin-bottom: 20px;
    resize: none;
    border: 0;
    border-radius: 3px;
    background-color: var(--white);
    line-height: 30px;
    font-weight: bold;
}

input:focus, textarea:focus {
    outline: none;
}

footer h2 {
    color: white;
}

footer form h2 {
    background-color: var(--red);
    margin-bottom: 20px;
    padding: 10px;
    box-sizing: border-box;
    border-radius: 3px;
    display: flex;
    align-items: center;
    font-size: 20px;
}

footer #skills {
    margin: 0;
}

footer form h2 i {
    margin-right: 10px;
    color: white;
}

form button i {
    color: white;
    margin-right: 5px;
}

form button:hover {
    cursor: pointer;
}

footer #skills p {
    color: gray;
    box-sizing: border-box;
}

footer #skills p a {
    color: white;
}

.rights {
    width: 100%;
    height: auto;
    text-align: center;
    padding-top: 50px;
}

footer .container {
    padding-bottom: 50px;
    border-bottom: 1px solid gray;
}

#projects {
    background-color: var(--black);
    width: 100%;
    height: auto;
    margin-top: 20px;
}

.projects-container {
    padding: 100px 0;
}

.projects-text {
    display: flex;
    justify-content: center;
    flex-flow: column;
    align-items: center;
}

.projects-text h2 {
    color: white;
}

.projects-text p {
    color: gray;
    text-align: center;
    margin-top: 20px;
}

.project-examples {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-gap: 20px;
}

.project-example {
    width: 100%;
    display: flex;
    flex-flow: column;
    gap: 20px;
}

.project-example img {
    width: 60%;
    height: 150px;
    margin-left: 20%;
    object-fit: contain;
    filter: grayscale(100%);
}

.project-example:hover > img {
    filter: grayscale(0%);
    cursor: pointer;
}

.project-example h3 {
    max-width: 100%;
    color: white;
}

.project-example p {
    color: gray;
    max-width: 100%;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.project-latest {
    margin-top: 100px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 20px;
}

.project-latest-text .red-white-button {
    margin-top: 20px;
}

.project-latest-text h2 {
    color: white;
}

.project-latest-text p:first-of-type {
    color: gray;
    margin: 20px 0;
}

.project-latest-check {
    color: white;
}

.project-latest-check i {
    margin-right: 10px;
    color: var(--red);
}

.project-latest-image {
    width: 100%;
    height: 100%;
}

.project-latest-image img {
    display: block;
    width: 100%;
    height: 500px;
    object-fit: cover;
    object-position: top;
}

#experience {
    background-color: var(--black);
    width: 100%;
    height: auto;
    margin-top: 20px;
}

.work-examples {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 20px;
    margin-top: 20px;
}

.work-example {
    width: 100%;
    display: flex;
    flex-flow: column;
    gap: 20px;
}

.work-latest-check {
    color: white;
}

.work-latest-check i {
    margin-right: 10px;
    color: var(--red);
}

.work-example img {
    width: 60%;
    height: 150px;
    margin-left: 20%;
    object-fit: contain;
    filter: grayscale(100%);
}

.work-example:hover > img {
    filter: grayscale(0%);
    cursor: pointer;
}

.work-example h3 {
    max-width: 100%;
    color: white;
}

.work-example p {
    color: gray;
}

.work-checks {
    display: flex;
    flex-flow: column;
    gap: 10px;
}

.work-example-info {
    color: gray;
    max-width: 100%;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}







































@media screen and (max-width: 1200px) {

    .container {
        width: 100%;
        padding: 20px;
        box-sizing: border-box;
    }

    #banner {
        padding: 0 20px;
        box-sizing: border-box;
    }

    #banner img {
        position: absolute;
        top: 20px;
        right: 20px;
        height: 20%;
    }

    #about {
        padding: 0;
    }

    #about .container {
        flex-wrap: wrap;
    }

    .about-card {
        flex: 1 1 45%;
    }

    .about-card-cover {
        display: none;
    }

    .portfolio-container {
        flex-wrap: wrap;
    }

    .portfolio-card {
        flex: 1 1 30%;
    }

    .portfolio-header img {
        width: 50%;
    }
}





@media screen and (max-width: 950px) {
    .project-examples {
        grid-template-columns: repeat(4, 1fr);
    }

    .work-examples {
        grid-template-columns: repeat(4, 1fr);
    }

    .project-latest-image {
        border-radius: 0;
    }
}






@media screen and (max-width: 750px) {

    .about-card {
        flex: unset;
        width: 100%;
    }

    .project-examples {
        grid-template-columns: repeat(2, 1fr);
    }

    .work-examples {
        grid-template-columns: repeat(2, 1fr);
    }

    .project-latest-image {
        display: none;
    }

    .project-latest {
        display: block;
        margin-top: 50px;
    }

    .project-latest-text {
        width: 100%;
    }
}

































@media screen and (max-width: 700px) {

    #banner {
        height: auto;
        padding-top: 50px;
    }

    #banner {
        align-items: unset;
        justify-content: unset;
    }

    #banner img {
        display: none;
    }

    .banner-text h1 {
        font-size: 9vw;
    }

    .banner-text h2 {
        font-size: 6vw;
    }

    #about {
        margin-top: 50px;
    }

    #skills .container {
        display: unset;
        padding: 0 20px;
        box-sizing: border-box;
    }

    .skills-heading {
        width: 100%;
        margin-bottom: 10px;
        padding: 0 20px;
        box-sizing: border-box;
    }

    .skills-content {
        width: 100%;
        padding: 0 20px;
        box-sizing: border-box;
    }

    .cv-block {
        width: 100%;
        margin-top: 20px;
    }

    footer .container {
        border: 0px;
    }
}





















@media screen and (max-width: 600px) {
    .download-block {
        display: unset;
    }
}
























@media screen and (max-width: 450px) {
    header ul a {
        margin: 5px;
    }
}
  
















